package com.site.wisdom_construction.service.iotModule;

import com.site.wisdom_construction.dao.iotModule.HighSupportsDao;
import com.site.wisdom_construction.entity.iotModule.HighSupports;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/3/7
 * @Description
 */
@Service
public class HighSupportsService implements HighSupportsDao {
    @Autowired
    private HighSupportsDao highSupportsDao;

    @Override
    public int insertHighSupports(Map map) {
        return highSupportsDao.insertHighSupports(map);
    }

    @Override
    public List<HighSupports> findHighSupports(Map map) {
        return highSupportsDao.findHighSupports(map);
    }

    @Override
    public List<HighSupports> findHighSupportsByPage(Map map) {
        return highSupportsDao.findHighSupportsByPage(map);
    }

    @Override
    public HighSupports findHighSupportsByNew(Map map) {
        return highSupportsDao.findHighSupportsByNew(map);
    }

    @Override
    public long Total(Map map) {
        return highSupportsDao.Total(map);
    }

    @Override
    public int deleteHighSupports(Map map) {
        return highSupportsDao.deleteHighSupports(map);
    }
}
